Optimal. Leaf size=88 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{3/2}}{6 f (c-c \sin (e+f x))^{7/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{3/2}}{24 c f (c-c \sin (e+f x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2822, 2821}
\begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{24 c f (c-c \sin (e+f x))^{5/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{6 f (c-c \sin (e+f x))^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2821
Rule 2822
Rubi steps
\begin {align*} \int \frac {(a+a \sin (e+f x))^{3/2}}{(c-c \sin (e+f x))^{7/2}} \, dx &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{3/2}}{6 f (c-c \sin (e+f x))^{7/2}}+\frac {\int \frac {(a+a \sin (e+f x))^{3/2}}{(c-c \sin (e+f x))^{5/2}} \, dx}{6 c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{3/2}}{6 f (c-c \sin (e+f x))^{7/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{3/2}}{24 c f (c-c \sin (e+f x))^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.36, size = 106, normalized size = 1.20 \begin {gather*} -\frac {a \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {a (1+\sin (e+f x))} (1+3 \sin (e+f x))}{6 c^3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^3 \sqrt {c-c \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 8.92, size = 141, normalized size = 1.60
method | result | size |
default | \(\frac {\left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {3}{2}} \sin \left (f x +e \right ) \left (\sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )+\cos ^{3}\left (f x +e \right )+3 \cos \left (f x +e \right ) \sin \left (f x +e \right )-4 \left (\cos ^{2}\left (f x +e \right )\right )-10 \sin \left (f x +e \right )-7 \cos \left (f x +e \right )+10\right )}{6 f \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {7}{2}} \left (\cos ^{2}\left (f x +e \right )+\cos \left (f x +e \right ) \sin \left (f x +e \right )+\cos \left (f x +e \right )-2 \sin \left (f x +e \right )-2\right )}\) | \(141\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 109, normalized size = 1.24 \begin {gather*} -\frac {{\left (3 \, a \sin \left (f x + e\right ) + a\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{6 \, {\left (3 \, c^{4} f \cos \left (f x + e\right )^{3} - 4 \, c^{4} f \cos \left (f x + e\right ) - {\left (c^{4} f \cos \left (f x + e\right )^{3} - 4 \, c^{4} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.51, size = 92, normalized size = 1.05 \begin {gather*} \frac {{\left (3 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 2 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{24 \, c^{\frac {7}{2}} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 10.65, size = 124, normalized size = 1.41 \begin {gather*} -\frac {a\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,\sqrt {c-c\,\sin \left (e+f\,x\right )}+3\,a\,\sin \left (e+f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,\sqrt {c-c\,\sin \left (e+f\,x\right )}}{\frac {9\,c^4\,f\,\cos \left (3\,e+3\,f\,x\right )}{2}+\frac {21\,c^4\,f\,\sin \left (2\,e+2\,f\,x\right )}{2}-\frac {3\,c^4\,f\,\sin \left (4\,e+4\,f\,x\right )}{4}-\frac {21\,c^4\,f\,\cos \left (e+f\,x\right )}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________